Hello,
When opening a module(visible) in edit mode how do you suppress the DOORS report stating "Unable to open module abc...." Thank you. - Jim EHcnck - Mon Jul 01 13:18:30 EDT 2013 |
Re: suppress errors on edit() Will this work? Module trg_mod = edit(Mod_Name, true) if (null trg_mod) { halt //no error message } Greg |
Re: suppress errors on edit() If you mean suppress and edit error and prompt when someone else already has it open edit or share, then use the "silent" option:
I don't specifically recall any "unable to open ..." errors; but if I did I would do this to trap them:
This will trap run-time errors in Attr-DXL in the default loaded view; but I don't think traps Attr-DXL interpret errors (such as unreasolved #include reference) -Louie |
Re: suppress errors on edit() llandale - Tue Jul 02 13:54:46 EDT 2013 If you mean suppress and edit error and prompt when someone else already has it open edit or share, then use the "silent" option:
I don't specifically recall any "unable to open ..." errors; but if I did I would do this to trap them:
This will trap run-time errors in Attr-DXL in the default loaded view; but I don't think traps Attr-DXL interpret errors (such as unreasolved #include reference) -Louie Hello, The only way I found was to do the following:
... |
Re: suppress errors on edit() EHcnck - Wed Jul 03 10:24:42 EDT 2013 Hello, The only way I found was to do the following:
... You can indeed change views when the module is open only "read". |